package br.com.ceped.fachada;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

import org.hibernate.Session;

import sun.launcher.resources.launcher;

import br.com.ceped.coneccao.HibernateUtil;
import br.com.ceped.modelo.Bloco;
import br.com.ceped.modelo.EquipamentoPorCurso;
import br.com.ceped.modelo.Laboratorio;
import br.com.ceped.modelo.Reserva;
import br.com.ceped.modelo.Sala;
import br.com.ceped.util.FacesContextUtil;

public class teste {

	public static void main(String[] args) {
	
		
		
		Fachada fachada = Fachada.obterInstancia();
		Session s = HibernateUtil.getSessionfactory().openSession();
		long codigo = 2;
		Laboratorio laboratorio = fachada.procurarLaboratorio("nome", "1", "bloco.nome", codigo, s);
       System.out.println(laboratorio.getNome());

	
	}
	
	
}
